<%@ page language="java" contentType="text/html;" %>
<%@ page    pageEncoding="UTF-8" %>
<%@ page    import="java.util.*" %>

<link href="css/main.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="js/prototype.js"></script>

<script type="text/javascript" language="JavaScript">

function getHistorique() {

var url = 'HistoriqueServlet';
var params = '';
var ajax = new Ajax.Updater(
		{success: 'content'},url,
		{method: 'get', parameters: params, onFailure: reportError});

}

function reportError(request) {
	alert("error");
}
</script>

  <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
         <div id="header">
		 
		        
			   
		 </div>
		 <!-- End Header -->
		 
		 <!-- Begin Naviagtion -->
         <div id="navigation">
         	<ul class="nav">
         		<li><a class="current" href="<%= request.getAttribute("FB_APP_URL") %>" target="_top">Home</a></li>
				<li><a href="<%= request.getAttribute("FB_APP_URL") %>BaffesServlet" target="_top">Baffes</a></li>
				<li><a href="<%= request.getAttribute("FB_APP_URL") %>Graphe" target="_top">Graphe des amis</a></li>
				<li><a href="<%= request.getAttribute("FB_APP_URL") %>HistoriqueServlet" target="_top">Historique</a></li>
				<li><a href="<%= request.getAttribute("FB_APP_URL") %>invitation.jsp?api_key=<%= request.getAttribute("FB_API_KEY") %>&app_name=<%= request.getAttribute("FB_APP_NAME") %>	&fb_force_mode=fbml" target="_top">Invite Friends</a></li>
			</ul>      
		 </div>
		 <!-- End Naviagtion -->
		 
		 <!-- Begin Content -->
		 <div id="content">
		       
	    	 Hello ${requestScope.userName} <br /> 
	    	 
	    	 Bienvenue sur l'application qui va te permettre de te défouler	!! 
		 
		 
		 </div>
		 <!-- End Content -->
		 
		 <!-- Begin Footer -->
		 <div id="footer">
		       
			   <jsp:include page="footer.jsp" />
			    
	     </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->